home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _39EE62A91B4D48CEB9E85F1970ABE555 < prev    next >
Encoding:
Text File  |  2002-04-24  |  1.9 KB  |  117 lines

  1. {
  2.     \\ END OF GAME \\
  3.  
  4.     menuDef 
  5.     {
  6.         name        "error_popmenu"
  7.            visible        0
  8.            fullscreen    0
  9.         rect        0 0 640 480
  10.         focusColor    .49 .56 .27 1
  11.            style        1
  12.         popup
  13.  
  14.         onClose 
  15.         { 
  16.             uiScript clearError 
  17.         }
  18.         
  19.         onESC 
  20.         { 
  21.             close error_popmenu ; 
  22.         }
  23.  
  24.         itemDef
  25.         {
  26.             name        window
  27.             rect        0 0 640 480
  28.             style        WINDOW_STYLE_FILLED
  29.             backcolor    0 0 0 .5
  30.             visible        1
  31.             decoration
  32.         }
  33.  
  34.         itemDef 
  35.         {
  36.             name        window
  37.                rect        160 80 350 360
  38.             background    "gfx/menus/backdrop/requestor"
  39.             style        WINDOW_STYLE_SHADER
  40.             visible        1
  41.             decoration
  42.         }
  43.  
  44.         itemDef 
  45.         {
  46.             name        window
  47.             text        "Message"
  48.             style        WINDOW_STYLE_FILLED
  49.             textfont    "hud"
  50.             textscale    .53
  51.             rect        176 97 285 33
  52.             textalign    1
  53.             textalignx    142
  54.             textaligny    8
  55.             forecolor    .12 .14 .08 1
  56.             backcolor    0 0 0 .25
  57.             visible        1
  58.             decoration
  59.         }
  60.  
  61.         itemDef 
  62.         {
  63.             name        window
  64.             rect        205 143 226 195
  65.             style        WINDOW_STYLE_FILLED
  66.             cvar        "com_errorMessage"
  67.             textalignx    5
  68.             textaligny    8
  69.             textfont    "hud"
  70.             textscale    .43
  71.             forecolor    1 1 1 1
  72.             backcolor    0 0 0 .20
  73.             visible        1
  74.  
  75.             autowrapped
  76.             decoration
  77.         }
  78.  
  79.         //    BUTTON
  80.  
  81.         itemDef 
  82.         {
  83.             name        exit_button
  84.             text        "Close"
  85.             type        1
  86.             textfont    "hud"
  87.             textscale    .43
  88.             type        ITEM_TYPE_BUTTON
  89.             style        WINDOW_STYLE_FILLED
  90.             rect        295 347 45 26
  91.             textalignx    6
  92.             textaligny    5
  93.             forecolor    .12 .14 .08 1
  94.             backcolor    0 0 0 0
  95.             border        1
  96.             bordercolor    0 0 0 1
  97.             visible        1
  98.             
  99.             action 
  100.             { 
  101.                 play "sound/misc/menus/select.wav" ; 
  102.                 close error_popmenu ; 
  103.             }
  104.             mouseEnter 
  105.             { 
  106.                 play "sound/misc/menus/hilite1.wav" ; 
  107.                 setitemcolor exit_button backcolor .12 .14 .08 1
  108.                 setitemcolor exit_button forecolor .49 .56 .27 1
  109.             }                 
  110.             mouseExit 
  111.             { 
  112.                 setitemcolor exit_button backcolor 0 0 0 0
  113.                 setitemcolor exit_button forecolor .12 .14 .08 1
  114.             }
  115.         }
  116.     }
  117. }